﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// Bom_SubNode
    /// </summary>
    [Table("Bom_SubNode")]
    public partial class Bom_SubNode
    {

        /// <summary>
        /// 主键Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 物料id
        /// </summary>
        public String MaterailId { get; set; }

        /// <summary>
        /// 父级id
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public String MaterialName { get; set; }

        /// <summary>
        /// 类型(0成品 1半成品 2原材料)
        /// </summary>
        public Int32? Type { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Double? Quantity { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean? Deleted { get; set; }

    }
}